package com.ddtech.business.course.query;

import com.ddtech.business.course.entity.CourseStudyRecord;
import com.ddtech.mybatisplus.annotaion.Eq;
import com.ddtech.mybatisplus.annotaion.OrderBy;
import com.ddtech.mybatisplus.enums.OrderByEnum;
import com.ddtech.mybatisplus.query.WebAbstractQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class CourseStudyRecordQuery extends WebAbstractQuery<CourseStudyRecord> {
    @Eq
    @ApiModelProperty(value = "任务id")
    private String taskId;

    @Eq
    @ApiModelProperty(value = "学员id")
    private String userId;

    @Eq
    @ApiModelProperty(value = "课程id")
    private String courseId;

    @Eq
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @Eq
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @OrderBy(orderBy= OrderByEnum.DESC)
    @ApiModelProperty(value = "排序时间")
    private Date createTime;
}
